|
Foxit PDF SDK
|
继承自 FoxitPDFSDKPython3._object .
Public 成员函数 | |
| def | TreeItemInfo () |
| 构造函数。 更多... | |
| def | Set (type, order_index, page_index, text, rect) |
| 设置值。 更多... | |
静态 Public 属性 | |
| order_index = _fsdk.TreeItemInfo_order_index | |
| 项的顺序索引,从 0 开始。 | |
| page_index = _fsdk.TreeItemInfo_page_index | |
| 选中项的页面索引。有效取值范围为 0 到 (count - 1),其中 count 为函数 FoxitPDFSDKPython3.PDFDoc.GetPageCount 返回的页面总数。 | |
| rect = _fsdk.TreeItemInfo_rect | |
| 页面内容项的矩形区域。 | |
| text = _fsdk.TreeItemInfo_text | |
| 项文本,用于在 UI 中显示。 | |
| type = _fsdk.TreeItemInfo_type | |
| 项内容类型。请参见从 FoxitPDFSDKPython3.e_ContentTypeUnknown 开始的值。 | |
此类表示用于阅读顺序树项信息的数据。
| def FoxitPDFSDKPython3.TreeItemInfo.TreeItemInfo | ( | ) |
构造函数。
构造函数,使用另一个阅读顺序树项信息对象。
| [in] | type | 内容类型。请参见从 FoxitPDFSDKPython3.e_ContentTypeUnknown 开始的值。 |
| [in] | order_index | 顺序索引。 |
| [in] | page_index | 页面索引。有效取值范围为 0 到 (count - 1),其中 count 为函数 FoxitPDFSDKPython3.PDFDoc.GetPageCount 返回的页面总数。 |
| [in] | text | 项文本。 |
| [in] | rect | 矩形。 |
| [in] | other | 另一个阅读顺序树项信息对象。 |
| def FoxitPDFSDKPython3.TreeItemInfo.Set | ( | type, | |
| order_index, | |||
| page_index, | |||
| text, | |||
| rect | |||
| ) |
设置值。
| [in] | type | 内容类型。请参见从 FoxitPDFSDKPython3.e_ContentTypeUnknown 开始的值。 |
| [in] | order_index | 顺序索引。 |
| [in] | page_index | 页面索引。有效取值范围为 0 到 (count - 1),其中 count 为函数 FoxitPDFSDKPython3.PDFDoc.GetPageCount 返回的页面总数。 |
| [in] | text | 项文本。 |
| [in] | rect | 矩形。 |